const ms = require('ms-toollib');

let game_board = [
    [10, 10, 1, 1, 10, 1, 0, 0],
    [10, 10, 1, 10, 10, 3, 2, 1],
    [10, 10, 10, 10, 10, 10, 10, 10],
    [10, 10, 10, 10, 10, 10, 10, 10],
    [10, 10, 10, 10, 10, 10, 10, 10],
    [10, 10, 10, 10, 2, 10, 10, 10],
    [10, 10, 10, 10, 10, 10, 10, 10],
    [10, 10, 10, 10, 10, 10, 10, 10],
];

let a = ms.cal_possibility_onboard(game_board, 10)
console.log(a);

